<#assign bodyclass = "change-list">

<#include "_header.ftl">

<div id="content-main">

<ul class="object-tools"><li><a href="./add/" class="addlink">Create new ${entity.verboseName}</a></li></ul>
<div class="module" id="changelist">
<table cellspacing="0">

	<thead>
		<tr>
			<#list list.getPkList() as property>
				<th>${property}</th>
			</#list>
			<#list list.getPropertyList() as property>
				<th>${property}</th>
			</#list>
		</tr>
	</thead>

	<tbody>
		<#list list.getObjectList() as object>
			<tr class="row${object}_index % 2 + 1}">
			    <#list list.getPkList() as property>
			    	<td><a href="./${object[property]?c}/">${object[property]?c}</a></td>
			    </#list>
				<#list list.getPropertyList() as property>
					<#if (object[property]!'')?is_sequence>
						<td></td>
					<#elseif (object[property]!'')?is_date>
						<td>${object[property]?date}</td>
					<#else>
						<td>${object[property]!""}</td>
					</#if>
				</#list>
			</tr>
		</#list>
	</tbody>
</table>
<p class="paginator">
${paginator.asTable()}
</p>
</div>
</div>
<br class="clear" />
<#include "_footer.ftl">

